package com.pactera.asmp.server.dao;

import com.pactera.asmp.server.entity.TaskDeviceTopLog;
import com.pactera.asmp.server.entity.TaskDeviceTopLogExample;
import com.pactera.asmp.server.pojo.ReportHmiCpuInfo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
@Mapper
public interface TaskDeviceTopLogMapper {
    long countByExample(TaskDeviceTopLogExample example);

    int deleteByPrimaryKey(Long id);

    int insert(TaskDeviceTopLog record);

    int insertSelective(TaskDeviceTopLog record);

    List<TaskDeviceTopLog> selectByExample(TaskDeviceTopLogExample example);

    TaskDeviceTopLog selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(TaskDeviceTopLog record);

    int updateByPrimaryKey(TaskDeviceTopLog record);

    List<ReportHmiCpuInfo> selectStatisticByTaskId(Long id);
}